<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<input type="button" value="出栈" id="btn1" />
		<input type="button" value="入栈" id="btn2" />
		<script type="text/javascript">
			var stack=[];
			var push=document.getElementById("btn1");
			var pop=document.getElementById("btn2");
			push.onclick=function(e){
				var r=parseInt(Math.random()*100);
				stack.toString();
			console.log(stack.toString());}
		</script>
	</body>
</html>
